package com.jxc.dao.admin;

import java.util.List;
import java.util.Map;

import com.jxc.entity.admin.SellReback;
import com.jxc.entity.admin.SellRebackDetail;
import org.springframework.stereotype.Repository;


/**
 * 销售退货单dao
 */
@Repository
public interface SellRebackDao {
    int addDetail(SellRebackDetail sellRebackDetail);

    int add(SellReback sellReback);

    int edit(SellReback sellReback);

    List<SellReback> findList(Map<String, Object> queryMap);

    Integer getTotal(Map<String, Object> queryMap);

    int delete(Long id);

    List<Map<String, String>> getStats(String date);
}
